package com.lebang.example;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

public class AppAdControAppStoreExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Long offset;

    public AppAdControAppStoreExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Long offset) {
        this.offset = offset;
    }

    public Long getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(LocalDateTime value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(LocalDateTime value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(LocalDateTime value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(LocalDateTime value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<LocalDateTime> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<LocalDateTime> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIsNull() {
            addCriterion("modify_time is null");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIsNotNull() {
            addCriterion("modify_time is not null");
            return (Criteria) this;
        }

        public Criteria andModifyTimeEqualTo(LocalDateTime value) {
            addCriterion("modify_time =", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotEqualTo(LocalDateTime value) {
            addCriterion("modify_time <>", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeGreaterThan(LocalDateTime value) {
            addCriterion("modify_time >", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("modify_time >=", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeLessThan(LocalDateTime value) {
            addCriterion("modify_time <", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("modify_time <=", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIn(List<LocalDateTime> values) {
            addCriterion("modify_time in", values, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotIn(List<LocalDateTime> values) {
            addCriterion("modify_time not in", values, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("modify_time between", value1, value2, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("modify_time not between", value1, value2, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andHasDeletedIsNull() {
            addCriterion("has_deleted is null");
            return (Criteria) this;
        }

        public Criteria andHasDeletedIsNotNull() {
            addCriterion("has_deleted is not null");
            return (Criteria) this;
        }

        public Criteria andHasDeletedEqualTo(Integer value) {
            addCriterion("has_deleted =", value, "hasDeleted");
            return (Criteria) this;
        }

        public Criteria andHasDeletedNotEqualTo(Integer value) {
            addCriterion("has_deleted <>", value, "hasDeleted");
            return (Criteria) this;
        }

        public Criteria andHasDeletedGreaterThan(Integer value) {
            addCriterion("has_deleted >", value, "hasDeleted");
            return (Criteria) this;
        }

        public Criteria andHasDeletedGreaterThanOrEqualTo(Integer value) {
            addCriterion("has_deleted >=", value, "hasDeleted");
            return (Criteria) this;
        }

        public Criteria andHasDeletedLessThan(Integer value) {
            addCriterion("has_deleted <", value, "hasDeleted");
            return (Criteria) this;
        }

        public Criteria andHasDeletedLessThanOrEqualTo(Integer value) {
            addCriterion("has_deleted <=", value, "hasDeleted");
            return (Criteria) this;
        }

        public Criteria andHasDeletedIn(List<Integer> values) {
            addCriterion("has_deleted in", values, "hasDeleted");
            return (Criteria) this;
        }

        public Criteria andHasDeletedNotIn(List<Integer> values) {
            addCriterion("has_deleted not in", values, "hasDeleted");
            return (Criteria) this;
        }

        public Criteria andHasDeletedBetween(Integer value1, Integer value2) {
            addCriterion("has_deleted between", value1, value2, "hasDeleted");
            return (Criteria) this;
        }

        public Criteria andHasDeletedNotBetween(Integer value1, Integer value2) {
            addCriterion("has_deleted not between", value1, value2, "hasDeleted");
            return (Criteria) this;
        }

        public Criteria andEnableIsNull() {
            addCriterion("`enable` is null");
            return (Criteria) this;
        }

        public Criteria andEnableIsNotNull() {
            addCriterion("`enable` is not null");
            return (Criteria) this;
        }

        public Criteria andEnableEqualTo(Integer value) {
            addCriterion("`enable` =", value, "enable");
            return (Criteria) this;
        }

        public Criteria andEnableNotEqualTo(Integer value) {
            addCriterion("`enable` <>", value, "enable");
            return (Criteria) this;
        }

        public Criteria andEnableGreaterThan(Integer value) {
            addCriterion("`enable` >", value, "enable");
            return (Criteria) this;
        }

        public Criteria andEnableGreaterThanOrEqualTo(Integer value) {
            addCriterion("`enable` >=", value, "enable");
            return (Criteria) this;
        }

        public Criteria andEnableLessThan(Integer value) {
            addCriterion("`enable` <", value, "enable");
            return (Criteria) this;
        }

        public Criteria andEnableLessThanOrEqualTo(Integer value) {
            addCriterion("`enable` <=", value, "enable");
            return (Criteria) this;
        }

        public Criteria andEnableIn(List<Integer> values) {
            addCriterion("`enable` in", values, "enable");
            return (Criteria) this;
        }

        public Criteria andEnableNotIn(List<Integer> values) {
            addCriterion("`enable` not in", values, "enable");
            return (Criteria) this;
        }

        public Criteria andEnableBetween(Integer value1, Integer value2) {
            addCriterion("`enable` between", value1, value2, "enable");
            return (Criteria) this;
        }

        public Criteria andEnableNotBetween(Integer value1, Integer value2) {
            addCriterion("`enable` not between", value1, value2, "enable");
            return (Criteria) this;
        }

        public Criteria andSdkFirstKeyIsNull() {
            addCriterion("sdk_first_key is null");
            return (Criteria) this;
        }

        public Criteria andSdkFirstKeyIsNotNull() {
            addCriterion("sdk_first_key is not null");
            return (Criteria) this;
        }

        public Criteria andSdkFirstKeyEqualTo(String value) {
            addCriterion("sdk_first_key =", value, "sdkFirstKey");
            return (Criteria) this;
        }

        public Criteria andSdkFirstKeyNotEqualTo(String value) {
            addCriterion("sdk_first_key <>", value, "sdkFirstKey");
            return (Criteria) this;
        }

        public Criteria andSdkFirstKeyGreaterThan(String value) {
            addCriterion("sdk_first_key >", value, "sdkFirstKey");
            return (Criteria) this;
        }

        public Criteria andSdkFirstKeyGreaterThanOrEqualTo(String value) {
            addCriterion("sdk_first_key >=", value, "sdkFirstKey");
            return (Criteria) this;
        }

        public Criteria andSdkFirstKeyLessThan(String value) {
            addCriterion("sdk_first_key <", value, "sdkFirstKey");
            return (Criteria) this;
        }

        public Criteria andSdkFirstKeyLessThanOrEqualTo(String value) {
            addCriterion("sdk_first_key <=", value, "sdkFirstKey");
            return (Criteria) this;
        }

        public Criteria andSdkFirstKeyLike(String value) {
            addCriterion("sdk_first_key like", value, "sdkFirstKey");
            return (Criteria) this;
        }

        public Criteria andSdkFirstKeyNotLike(String value) {
            addCriterion("sdk_first_key not like", value, "sdkFirstKey");
            return (Criteria) this;
        }

        public Criteria andSdkFirstKeyIn(List<String> values) {
            addCriterion("sdk_first_key in", values, "sdkFirstKey");
            return (Criteria) this;
        }

        public Criteria andSdkFirstKeyNotIn(List<String> values) {
            addCriterion("sdk_first_key not in", values, "sdkFirstKey");
            return (Criteria) this;
        }

        public Criteria andSdkFirstKeyBetween(String value1, String value2) {
            addCriterion("sdk_first_key between", value1, value2, "sdkFirstKey");
            return (Criteria) this;
        }

        public Criteria andSdkFirstKeyNotBetween(String value1, String value2) {
            addCriterion("sdk_first_key not between", value1, value2, "sdkFirstKey");
            return (Criteria) this;
        }

        public Criteria andSdkFirstNameIsNull() {
            addCriterion("sdk_first_name is null");
            return (Criteria) this;
        }

        public Criteria andSdkFirstNameIsNotNull() {
            addCriterion("sdk_first_name is not null");
            return (Criteria) this;
        }

        public Criteria andSdkFirstNameEqualTo(String value) {
            addCriterion("sdk_first_name =", value, "sdkFirstName");
            return (Criteria) this;
        }

        public Criteria andSdkFirstNameNotEqualTo(String value) {
            addCriterion("sdk_first_name <>", value, "sdkFirstName");
            return (Criteria) this;
        }

        public Criteria andSdkFirstNameGreaterThan(String value) {
            addCriterion("sdk_first_name >", value, "sdkFirstName");
            return (Criteria) this;
        }

        public Criteria andSdkFirstNameGreaterThanOrEqualTo(String value) {
            addCriterion("sdk_first_name >=", value, "sdkFirstName");
            return (Criteria) this;
        }

        public Criteria andSdkFirstNameLessThan(String value) {
            addCriterion("sdk_first_name <", value, "sdkFirstName");
            return (Criteria) this;
        }

        public Criteria andSdkFirstNameLessThanOrEqualTo(String value) {
            addCriterion("sdk_first_name <=", value, "sdkFirstName");
            return (Criteria) this;
        }

        public Criteria andSdkFirstNameLike(String value) {
            addCriterion("sdk_first_name like", value, "sdkFirstName");
            return (Criteria) this;
        }

        public Criteria andSdkFirstNameNotLike(String value) {
            addCriterion("sdk_first_name not like", value, "sdkFirstName");
            return (Criteria) this;
        }

        public Criteria andSdkFirstNameIn(List<String> values) {
            addCriterion("sdk_first_name in", values, "sdkFirstName");
            return (Criteria) this;
        }

        public Criteria andSdkFirstNameNotIn(List<String> values) {
            addCriterion("sdk_first_name not in", values, "sdkFirstName");
            return (Criteria) this;
        }

        public Criteria andSdkFirstNameBetween(String value1, String value2) {
            addCriterion("sdk_first_name between", value1, value2, "sdkFirstName");
            return (Criteria) this;
        }

        public Criteria andSdkFirstNameNotBetween(String value1, String value2) {
            addCriterion("sdk_first_name not between", value1, value2, "sdkFirstName");
            return (Criteria) this;
        }

        public Criteria andSdkLastKeyIsNull() {
            addCriterion("sdk_last_key is null");
            return (Criteria) this;
        }

        public Criteria andSdkLastKeyIsNotNull() {
            addCriterion("sdk_last_key is not null");
            return (Criteria) this;
        }

        public Criteria andSdkLastKeyEqualTo(String value) {
            addCriterion("sdk_last_key =", value, "sdkLastKey");
            return (Criteria) this;
        }

        public Criteria andSdkLastKeyNotEqualTo(String value) {
            addCriterion("sdk_last_key <>", value, "sdkLastKey");
            return (Criteria) this;
        }

        public Criteria andSdkLastKeyGreaterThan(String value) {
            addCriterion("sdk_last_key >", value, "sdkLastKey");
            return (Criteria) this;
        }

        public Criteria andSdkLastKeyGreaterThanOrEqualTo(String value) {
            addCriterion("sdk_last_key >=", value, "sdkLastKey");
            return (Criteria) this;
        }

        public Criteria andSdkLastKeyLessThan(String value) {
            addCriterion("sdk_last_key <", value, "sdkLastKey");
            return (Criteria) this;
        }

        public Criteria andSdkLastKeyLessThanOrEqualTo(String value) {
            addCriterion("sdk_last_key <=", value, "sdkLastKey");
            return (Criteria) this;
        }

        public Criteria andSdkLastKeyLike(String value) {
            addCriterion("sdk_last_key like", value, "sdkLastKey");
            return (Criteria) this;
        }

        public Criteria andSdkLastKeyNotLike(String value) {
            addCriterion("sdk_last_key not like", value, "sdkLastKey");
            return (Criteria) this;
        }

        public Criteria andSdkLastKeyIn(List<String> values) {
            addCriterion("sdk_last_key in", values, "sdkLastKey");
            return (Criteria) this;
        }

        public Criteria andSdkLastKeyNotIn(List<String> values) {
            addCriterion("sdk_last_key not in", values, "sdkLastKey");
            return (Criteria) this;
        }

        public Criteria andSdkLastKeyBetween(String value1, String value2) {
            addCriterion("sdk_last_key between", value1, value2, "sdkLastKey");
            return (Criteria) this;
        }

        public Criteria andSdkLastKeyNotBetween(String value1, String value2) {
            addCriterion("sdk_last_key not between", value1, value2, "sdkLastKey");
            return (Criteria) this;
        }

        public Criteria andSdkLastNameIsNull() {
            addCriterion("sdk_last_name is null");
            return (Criteria) this;
        }

        public Criteria andSdkLastNameIsNotNull() {
            addCriterion("sdk_last_name is not null");
            return (Criteria) this;
        }

        public Criteria andSdkLastNameEqualTo(String value) {
            addCriterion("sdk_last_name =", value, "sdkLastName");
            return (Criteria) this;
        }

        public Criteria andSdkLastNameNotEqualTo(String value) {
            addCriterion("sdk_last_name <>", value, "sdkLastName");
            return (Criteria) this;
        }

        public Criteria andSdkLastNameGreaterThan(String value) {
            addCriterion("sdk_last_name >", value, "sdkLastName");
            return (Criteria) this;
        }

        public Criteria andSdkLastNameGreaterThanOrEqualTo(String value) {
            addCriterion("sdk_last_name >=", value, "sdkLastName");
            return (Criteria) this;
        }

        public Criteria andSdkLastNameLessThan(String value) {
            addCriterion("sdk_last_name <", value, "sdkLastName");
            return (Criteria) this;
        }

        public Criteria andSdkLastNameLessThanOrEqualTo(String value) {
            addCriterion("sdk_last_name <=", value, "sdkLastName");
            return (Criteria) this;
        }

        public Criteria andSdkLastNameLike(String value) {
            addCriterion("sdk_last_name like", value, "sdkLastName");
            return (Criteria) this;
        }

        public Criteria andSdkLastNameNotLike(String value) {
            addCriterion("sdk_last_name not like", value, "sdkLastName");
            return (Criteria) this;
        }

        public Criteria andSdkLastNameIn(List<String> values) {
            addCriterion("sdk_last_name in", values, "sdkLastName");
            return (Criteria) this;
        }

        public Criteria andSdkLastNameNotIn(List<String> values) {
            addCriterion("sdk_last_name not in", values, "sdkLastName");
            return (Criteria) this;
        }

        public Criteria andSdkLastNameBetween(String value1, String value2) {
            addCriterion("sdk_last_name between", value1, value2, "sdkLastName");
            return (Criteria) this;
        }

        public Criteria andSdkLastNameNotBetween(String value1, String value2) {
            addCriterion("sdk_last_name not between", value1, value2, "sdkLastName");
            return (Criteria) this;
        }

        public Criteria andAdKeyIsNull() {
            addCriterion("ad_key is null");
            return (Criteria) this;
        }

        public Criteria andAdKeyIsNotNull() {
            addCriterion("ad_key is not null");
            return (Criteria) this;
        }

        public Criteria andAdKeyEqualTo(String value) {
            addCriterion("ad_key =", value, "adKey");
            return (Criteria) this;
        }

        public Criteria andAdKeyNotEqualTo(String value) {
            addCriterion("ad_key <>", value, "adKey");
            return (Criteria) this;
        }

        public Criteria andAdKeyGreaterThan(String value) {
            addCriterion("ad_key >", value, "adKey");
            return (Criteria) this;
        }

        public Criteria andAdKeyGreaterThanOrEqualTo(String value) {
            addCriterion("ad_key >=", value, "adKey");
            return (Criteria) this;
        }

        public Criteria andAdKeyLessThan(String value) {
            addCriterion("ad_key <", value, "adKey");
            return (Criteria) this;
        }

        public Criteria andAdKeyLessThanOrEqualTo(String value) {
            addCriterion("ad_key <=", value, "adKey");
            return (Criteria) this;
        }

        public Criteria andAdKeyLike(String value) {
            addCriterion("ad_key like", value, "adKey");
            return (Criteria) this;
        }

        public Criteria andAdKeyNotLike(String value) {
            addCriterion("ad_key not like", value, "adKey");
            return (Criteria) this;
        }

        public Criteria andAdKeyIn(List<String> values) {
            addCriterion("ad_key in", values, "adKey");
            return (Criteria) this;
        }

        public Criteria andAdKeyNotIn(List<String> values) {
            addCriterion("ad_key not in", values, "adKey");
            return (Criteria) this;
        }

        public Criteria andAdKeyBetween(String value1, String value2) {
            addCriterion("ad_key between", value1, value2, "adKey");
            return (Criteria) this;
        }

        public Criteria andAdKeyNotBetween(String value1, String value2) {
            addCriterion("ad_key not between", value1, value2, "adKey");
            return (Criteria) this;
        }

        public Criteria andAppStoreIsNull() {
            addCriterion("app_store is null");
            return (Criteria) this;
        }

        public Criteria andAppStoreIsNotNull() {
            addCriterion("app_store is not null");
            return (Criteria) this;
        }

        public Criteria andAppStoreEqualTo(String value) {
            addCriterion("app_store =", value, "appStore");
            return (Criteria) this;
        }

        public Criteria andAppStoreNotEqualTo(String value) {
            addCriterion("app_store <>", value, "appStore");
            return (Criteria) this;
        }

        public Criteria andAppStoreGreaterThan(String value) {
            addCriterion("app_store >", value, "appStore");
            return (Criteria) this;
        }

        public Criteria andAppStoreGreaterThanOrEqualTo(String value) {
            addCriterion("app_store >=", value, "appStore");
            return (Criteria) this;
        }

        public Criteria andAppStoreLessThan(String value) {
            addCriterion("app_store <", value, "appStore");
            return (Criteria) this;
        }

        public Criteria andAppStoreLessThanOrEqualTo(String value) {
            addCriterion("app_store <=", value, "appStore");
            return (Criteria) this;
        }

        public Criteria andAppStoreLike(String value) {
            addCriterion("app_store like", value, "appStore");
            return (Criteria) this;
        }

        public Criteria andAppStoreNotLike(String value) {
            addCriterion("app_store not like", value, "appStore");
            return (Criteria) this;
        }

        public Criteria andAppStoreIn(List<String> values) {
            addCriterion("app_store in", values, "appStore");
            return (Criteria) this;
        }

        public Criteria andAppStoreNotIn(List<String> values) {
            addCriterion("app_store not in", values, "appStore");
            return (Criteria) this;
        }

        public Criteria andAppStoreBetween(String value1, String value2) {
            addCriterion("app_store between", value1, value2, "appStore");
            return (Criteria) this;
        }

        public Criteria andAppStoreNotBetween(String value1, String value2) {
            addCriterion("app_store not between", value1, value2, "appStore");
            return (Criteria) this;
        }

        public Criteria andCountIsNull() {
            addCriterion("`count` is null");
            return (Criteria) this;
        }

        public Criteria andCountIsNotNull() {
            addCriterion("`count` is not null");
            return (Criteria) this;
        }

        public Criteria andCountEqualTo(Integer value) {
            addCriterion("`count` =", value, "count");
            return (Criteria) this;
        }

        public Criteria andCountNotEqualTo(Integer value) {
            addCriterion("`count` <>", value, "count");
            return (Criteria) this;
        }

        public Criteria andCountGreaterThan(Integer value) {
            addCriterion("`count` >", value, "count");
            return (Criteria) this;
        }

        public Criteria andCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("`count` >=", value, "count");
            return (Criteria) this;
        }

        public Criteria andCountLessThan(Integer value) {
            addCriterion("`count` <", value, "count");
            return (Criteria) this;
        }

        public Criteria andCountLessThanOrEqualTo(Integer value) {
            addCriterion("`count` <=", value, "count");
            return (Criteria) this;
        }

        public Criteria andCountIn(List<Integer> values) {
            addCriterion("`count` in", values, "count");
            return (Criteria) this;
        }

        public Criteria andCountNotIn(List<Integer> values) {
            addCriterion("`count` not in", values, "count");
            return (Criteria) this;
        }

        public Criteria andCountBetween(Integer value1, Integer value2) {
            addCriterion("`count` between", value1, value2, "count");
            return (Criteria) this;
        }

        public Criteria andCountNotBetween(Integer value1, Integer value2) {
            addCriterion("`count` not between", value1, value2, "count");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}